package org.itboys.core.entity.mysql.wallet;

import lombok.Data;
import org.itboys.mysql.entity.BaseMySqlEntity;

import java.math.BigDecimal;
/**
*@Author: jiaqilei
*@Date: 14:43 2018/11/28
*@Param:  *@Param null
*@Discription: 钱包
*/
@Data
public class SundayWallet extends BaseMySqlEntity{
    /**用户id*/
    private Long memberId;
    /**余额*/
    private BigDecimal money;
    /**总入账:只增不减*/
    private BigDecimal sum;
    /**已提现:只增不减*/
    private BigDecimal extract;
    /**以下数据不存储，用于web端展示*/
    /**用户姓名*/
    private  String memberName;
    /**用户手机号*/
    private String mobile;

    public SundayWallet() {
    }

    public SundayWallet(Long memberId, BigDecimal money, BigDecimal sum, BigDecimal extract) {
        this.memberId = memberId;
        this.money = money;
        this.sum = sum;
        this.extract = extract;
    }
}